package com.yunwushanhe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunwushanhe.bean.req.UserLoginReq;
import com.yunwushanhe.bean.ret.ResponseResult;
import com.yunwushanhe.bean.vo.UserInfoVO;
import com.yunwushanhe.bean.vo.UserLoginVO;
import com.yunwushanhe.entity.User;

/**
 * 用户表(User)表服务接口
 *
 * @author 抬头看看天
 * @since 2023-08-05 22:17:30
 */
public interface UserService extends IService<User> {

    ResponseResult<UserLoginVO> login(UserLoginReq userLoginReq);

    ResponseResult<Object> logout();

    ResponseResult<UserInfoVO> getUserInfo();

    ResponseResult<Object> updateUserInfo(User user);

    ResponseResult<Object> register(User user);

}

